package com.ruoyi.mall.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分类属性中间对象 mall_category_property
 * 
 * @author ruoyi
 * @date 2020-05-21
 */
public class MallCategoryProperty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类属性Id */
    private Long categoryPropertyId;

    /** 分类Id */
    @Excel(name = "分类Id")
    private Long categoryId;

    /** 属性Id */
    @Excel(name = "属性Id")
    private Long propertyId;

    public void setCategoryPropertyId(Long categoryPropertyId) 
    {
        this.categoryPropertyId = categoryPropertyId;
    }

    public Long getCategoryPropertyId() 
    {
        return categoryPropertyId;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setPropertyId(Long propertyId) 
    {
        this.propertyId = propertyId;
    }

    public Long getPropertyId() 
    {
        return propertyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryPropertyId", getCategoryPropertyId())
            .append("categoryId", getCategoryId())
            .append("propertyId", getPropertyId())
            .toString();
    }
}
